package com.example.shop.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.shop.util.NotNull;
import lombok.Data;
import org.beetl.sql.core.annotatoin.Table;

@Data
@TableName("tbl_follow")
public class FollowBean {
    @TableId(type= IdType.AUTO)
    public Integer id;

    @NotNull
    public Integer sid;

    @NotNull
    public  Integer uid;

    @NotNull
    public String bossname;

    @NotNull
    public String status;

    @NotNull
    public String store;

    @TableField(exist = false)
    public String username;
}
